package net.sky.oa.service.post.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import com.htsoft.core.service.impl.BaseServiceImpl;
import net.sky.oa.dao.post.ReplyAddDao;
import net.sky.oa.model.ReplyAdd;
import net.sky.oa.service.post.ReplyAddService;

@Service
public class ReplyAddServiceImpl extends BaseServiceImpl<ReplyAdd> implements ReplyAddService {
	private ReplyAddDao replyAddDao;
	
	@Resource
	public void setDao(ReplyAddDao replyAddDao){
		super.setDao(replyAddDao);
		this.replyAddDao=replyAddDao;
	}
	
	public ReplyAdd save(ReplyAdd replyAddPost){
		return replyAddDao.save(replyAddPost);
	}
}
